home *** CD-ROM | disk | FTP | other *** search
- Path: Starbase.NeoSoft.COM!not-for-mail
- From: askew@Starbase.NeoSoft.COM (Bill Askew)
- Newsgroups: comp.sys.amiga.networking
- Subject: Re: AmiTCP not releasing serial dev when done
- Date: 8 Jan 1996 17:43:57 -0600
- Organization: NeoSoft, Inc. +1 713 968 5800
- Message-ID: <4csa7t$i9a@Starbase.NeoSoft.COM>
- References: <4ck96g$pdr@shellx.best.com>
- NNTP-Posting-Host: starbase.neosoft.com
-
- In article <4ck96g$pdr@shellx.best.com>,
- Mike Harlock <harlock@shellx.best.com> wrote:
- >I'm using AmiTCP/IP v4.1 with PPP and IPDial.
- >
- >Everything works great, except after using stopnet, it doesn't release
- >the serial.device, so IPDial can't access it to hang up, and I have to
- >reboot to use another serial application. I just get Serial Device Busy.
- >
- >Is it something with PPP? (I'm using that common shareware one, unreged)
- >
- >help welcome.
- >--Mike
- > __
- > < \ harlock@raindrop.com - Mike "Harlock" Massee
- >[\\\\\\(\ (:::<===========================================-
- >\< > \ Practice Random Kindness
- > \\ / | And Senseless Acts of Beauty
- > `==='____/
- >
-
- Here are examples of my startnet and stopnet files using IPDial1.9
-
- --------------------- Startnet ------------------------------
-
- .key IPADDRESS
- .bra {
- .ket }
- .def IPADDRESS 192.0.2.1
- IPDial ECHO AmiTCP:bin/neosoftlogin
- ; log in
- echo
- echo login: askew
- AmiTCP:bin/login -f askew
- AmiTCP:bin/umask 022
- AmiTCP:AmiTCP
- WaitForPort AMITCP
- ; Configure loop-back device
- AmiTCP:bin/ifconfig lo0 localhost
- ; Configure slip0
- echo AmiTCP:bin/ifconfig slip0 inet {IPADDRESS} 198.64.6.1 netmask 255.255.0.0
- AmiTCP:bin/ifconfig slip0 inet {IPADDRESS} 198.64.6.1 netmask 255.255.0.0
- ; Add route to this host
- AmiTCP:bin/route add {IPADDRESS} localhost
- ; Add route to the default gateway
- AmiTCP:bin/route add default 198.64.6.1
- AmiTCP:bin/route add 198.64.6.7
- setenv HOSTNAME rwaskew.neosoft.com
- setenv USER askew
- Assign TCP: Exists > NIL:
- IF Warn
- Mount TCP: from AmiTCP:devs/Inet-Mountlist
- EndIf
- ; Start the internet `super server'
- run AmiTCP:bin/inetd
-
- -------------------------- stopnet ---------------------------------------
-
- .KEY FLUSH/S
- .BRA {
- .KET }
-
- ; $Id: stopnet,v 3.1 1994/05/27 07:08:39 jraja Exp $
-
- rx "address AMITCP; KILL" ; Send "KILL" to AmiTCP
-
- If {FLUSH}
- Wait 2 secs
- If `rx "Say Show(ports, AMITCP)"` EQ 0
- Avail >NIL: FLUSH
- EndIf
- EndIf
- wait 2 secs
- IPDial AmiTCP:bin/neosoftHangup
- --
- ====================================================================
- R. William Askew A Harley Ride a Day,
- askew@Neosoft.com Helps Drive the Blues Away
- RWA
- ====================================================================
-